<?php

namespace app\shop\model\order;

use app\shop\model\BaseModel;
use think\model\relation\BelongsTo;

class OrderDeliveryDetailModel extends BaseModel
{
    protected $name = 'shop_order_delivery_detail';

    /**
     * 订单详情关联
     * @return BelongsTo
     * @noinspection PhpMissingReturnTypeInspection
     */
    public function orderDetail()
    {
        return $this->belongsTo('OrderDetailModel', 'order_detail_id');
    }
}